package org.xuyuji.demo.xstream.bean.composite;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;

@XStreamAlias("ActPeriod")
public class ActPeriod{
	
	@XStreamAsAttribute
	private String startDate;

	@XStreamAsAttribute
	private String endDate;
	
	public ActPeriod() {
	}
	
	public ActPeriod(String startDate, String endDate) {
		this.startDate = startDate;
		this.endDate = endDate;
	}

	public String getStartDate() {
		return startDate;
	}

	public void setStartDate(String startDate) {
		this.startDate = startDate;
	}

	public String getEndDate() {
		return endDate;
	}

	public void setEndDate(String endDate) {
		this.endDate = endDate;
	}
}
